﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

#if UNITY_EDITOR
using UnityEditor;
#endif

namespace MyFramework
{
    public class TransformSimplifyExample
    {
#if UNITY_EDITOR
        [MenuItem("QFramework/Example/02.Transform简化", false, 5)]
#endif
        public static void ItemClick()
        {
            var gameObj = new GameObject("transform").transform;
            TransformSimplify.Identity(gameObj);
        }
    }
}
